package com.domain.dao;

import com.domain.pojo.PushMessage;
import org.apache.ibatis.annotations.Param;

import java.util.List;

public interface PushMessageMapper {
    int deleteByPrimaryKey(String id);

    int insert(PushMessage record);

    int insertSelective(PushMessage record);

    PushMessage selectByPrimaryKey(String id);

    int updateByPrimaryKeySelective(PushMessage record);

    int updateByPrimaryKey(PushMessage record);

    List<PushMessage> selectByUsersId(@Param("userId") String userId, @Param("pushType") String pushType);
}